﻿using System.Web.Mvc;
using Mysoft.Platform.OnlineLibrary.BaseControllers;

namespace Mysoft.Platform.OnlineLibrary.Controllers
{
	public class ErrorController : BaseController
	{
		//
		// GET: /Error/

		public ActionResult Index(string returnUrl)
		{
			ViewBag.returnUrl = string.IsNullOrEmpty(returnUrl) ? Url.Action("Index", "Home") : returnUrl;
			return View();
		}
	}
}